package com.dailyblue.java.cloud.customer.feign.feign;

import com.dailyblue.java.cloud.commons.util.JsonResult;
import com.dailyblue.java.cloud.customer.feign.feign.fallback.ProviderFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "example-provider",fallback = ProviderFeignFallback.class)
public interface ProviderFeign {
    @GetMapping("/provider/a")
    JsonResult a();

    @GetMapping("/provider/b")
    JsonResult b();

    @GetMapping("/provider/c")
    JsonResult c();

    @GetMapping("/provider/d")
    JsonResult d();
}
